/*
* @Author: wanghongfucoder
* @Date:   2017-03-08 15:33:33
* @Last Modified by:   wanghongfucoder
* @Last Modified time: 2017-03-08 15:38:17
*/
public  class Demo {
	
	public static void main(String[] args) {
		NameRepository  namesRepository=new NameRepository();
		for (Iterator iter=namesRepository.getIterator();iter.hasNext();){
			String name=(String)iter.next();
			System.out.println("Name : "+name);
		}
	}
}